<style>
.companytable tr td{
    height: 80px;
    border-top: 1px solid #e8ecf0;
    border-right: 1px solid #e8ecf0;
    padding-left: 20px;
}
.companytable{
    border-left: 1px solid #e8ecf0;
    border-bottom: 1px solid #e8ecf0;
    width: 100%;
}
.focusbtn:hover .btn1 {
  background-color: #3c7eee;
  color: #ffffff;
}
</style>
<template>
    <div style="padding-top:85px;"> 
    <div style="width:80%;display:flex;justify-content:center;margin-left: 10%;">
      <div style="display:flex;flex-direction: column;width:100%;">
        <!-- 内容-我的主页 -->
        <div class="personal-strategy" style="width:100%;display:flex;justify-content:space-between;">
              <!-- 标题 -->
            <div id="personal-strategy-title" style="display:flex;justify-content: flex-start;margin-top:20px;">
                <h4 style="color: #333;font-size:20px;font-weight: 700;line-height: 22px;margin-left:20px;">添加公司</h4>
            </div>
            <div class="focusbtn" style="margin-left:20px;display:flex;flex-direction:row;height: 39px;">
                <div style="background-color: #3c7eee;color: #ffffff;cursor: pointer;padding: 6px 24px;border-radius: 4px;margin-right:10px;" @click="back()">提交</div>
                <div style="background-color: #3c7eee;color: #ffffff;cursor: pointer;padding: 6px 24px;border-radius: 4px;" @click="back()">返回</div>
            </div>
        </div>
        <div>
            <table class="companytable">
                <tr>
                    <td width="10%" style="text-align: center;">公司简称</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td style="text-align: center;">股票代码</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td style="text-align: center;">成立日期</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td style="text-align: center;">公司全称</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                    <td style="text-align: center;">公司英文名称</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td style="text-align: center;">所属行业</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                    <td style="text-align: center;">所属概念</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td style="text-align: center;">注册地址</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                    <td style="text-align: center;">所得税率</td>
                    <td colspan="2"><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td>上市交易所</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>证券类型</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>上市日期</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td>流通股本</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>总股本</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>发行价</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td>联系电话</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>公司传真</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>公司邮箱</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td>公司网址</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>联系人</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                    <td>经营范围</td>
                    <td><el-input placeholder="请输入内容"></el-input></td>
                </tr>
                <tr>
                    <td>公司简介</td>
                    <td colspan="5"><el-input
                        type="textarea"
                        :autosize="{ minRows: 2, maxRows: 4}"
                        placeholder="请输入内容">
                    </el-input></td>
                </tr>
            </table>
        </div>
      </div>
    </div>
    </div>
</template>
<script>
export default {
    methods:{
        back(){
            this.$router.push('/company')
        },
    }
}
</script>